package yang.itcode.service;

import cn.hutool.json.JSONObject;
import com.github.pagehelper.PageInfo;

public interface SalesOrderService {
    boolean createSalesOrder(JSONObject form);

    PageInfo<JSONObject> getSalesOrderList(Integer pageNum, Integer pageSize, JSONObject condition);

    JSONObject getSalesOrderDetail(Integer id);

    boolean updateSalesOrder(JSONObject form);

    boolean redSalesOrder(Integer id);
}
